package com.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 2级
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CateLog2Vo {
    // 一级父分类id
    private String catelog1Id;
    // 三级子分类
    private List<CateLog3Vo> catalog3List;

    private String id;
    private String name;

    /**
     * 3 级
     */
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class CateLog3Vo {
        // 二级父分类id
        private String catelog2Id;
        private String id;
        private String name;
    }
}
